The seventh ecumenical council in 787 which refuted iconoclasm and regulated the veneration of holy images